public abstract class Graphics {
    public String name;
    public Graphics(){};
    public double area,circumference;
    public abstract double areaCalculate();
    public abstract double circumCalculate();

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getArea() {
        return area;
    }

    public void setArea(double area) {
        this.area = area;
    }

    public double getCircumference() {
        return circumference;
    }

    public void setCircumference(double circumference) {
        this.circumference = circumference;
    }

    public Graphics(String name) {
        this.name = name;
    }
    public void show(){
        System.out.println("这个"+name+"的周长为"+getCircumference()+",面积为："+getArea());
    }
}